export const fontFamilyOpts = [
  { key: 'inherit', selected: false, showname: '默认' },
  { key: 'tahoma', selected: false, showname: 'Tahoma' },
  { key: 'helvetica', selected: false, showname: 'Helvetica' },
  { key: 'verdana', selected: false, showname: 'Verdana' },
  { key: 'georgia', selected: false, showname: 'Georgia' },
  { key: 'heiti', selected: false, showname: '黑体' },
  { key: 'kaiti', selected: false, showname: '楷体' },
  { key: 'songti', selected: false, showname: '宋体' },
];

export const fontSizeOpts = [
  { key: '12px', selected: false, showname: '12' },
  { key: '14px', selected: false, showname: '14' },
  { key: '16px', selected: false, showname: '16' },
  { key: '18px', selected: false, showname: '18' },
  { key: '20px', selected: false, showname: '20' },
  { key: '22px', selected: false, showname: '22' },
];

export const alignOpts = [
  { key: 'left', selected: false, showname: '左对齐' },
  { key: 'center', selected: false, showname: '居中' },
  { key: 'right', selected: false, showname: '右对齐' },
];

export const visbleType = {
  Visble: '1',
  Hidden: '0'
};

export const visibleOpts = [
  { key: visbleType.Visble, selected: false, showname: '显示' },
  { key: visbleType.Hidden, selected: false, showname: '隐藏' }
];

export const shadowOpts = [
  { key: visbleType.Visble, selected: false, showname: '开启' },
  { key: visbleType.Hidden, selected: false, showname: '关闭' }
];

export const defaultCfg = {
  emptyImg: "",
  background: {
    backgroundColor: '#edf0f8'
  },
  submitBtn: {
    backgroundColor: '#0270c1',
    borderColor: '#0270c1',
    color: '#fff',
    fontFamily: 'inherit',
    fontSize: '14px',
    fontWeight: 'normal', // bold
    textAlign: 'left'
  }
};